package zyh.struts2.action2;

import com.opensymphony.xwork2.ActionSupport;
import zyh.struts2.beans.Cj;
import java.util.ArrayList;
import java.util.List;

public class GradeAction extends ActionSupport {
    List<Cj> gradeData=new ArrayList<Cj>();
    public  String load(){
        Cj cj1=new Cj("Java",90);
        Cj cj2=new Cj("Php",80);
        gradeData.add(cj1);
        gradeData.add(cj2);
        return SUCCESS;
    }
    public List<Cj> getGrade() { return gradeData; }
    public void setGrade(List<Cj> grade) { this.gradeData = grade; }
}
